package me.ilich.piet.interpreter;

import me.ilich.piet.interpreter.elements.Codel;
import junit.framework.TestCase;

public class CodelTestCase extends TestCase {
	
	public void testEquals(){
		Codel c1 = Codel.instance(1, 2);
		Codel c2 = Codel.instance(1, 2);
		Codel c3 = Codel.instance(1, 3);
		assertTrue(c1.equals(c2));
		assertFalse(c1.equals(c3));
	}

}
